package eval.cm.xml.parser.simple;

/**
 * This class is a wrapper of an xml document.
 * It must have a root {@link Element} and therefore it takes
 * an instance of that in its constructor.
 * Additional xml features like xml encoding, headings and doctype can be added here
 * @author constantin
 *
 */
public class Document {
	
	/**
	 * The root/top element for this document.
	 * This is unique for the document.
	 */
	private final Element rootElement;

	public Document( final Element rootElement ) {
		this.rootElement = rootElement;
	}

	public Element getRootElement() {
		return rootElement;
	}

}
